<?php
    $this->Html->script('controllers/Managers/admin', array('block' => 'scriptBottom'));

    $appBosch->crud = $this->TioCachas->urlsCRUD();
    $appBosch->getMoes = $this->Html->url(array('controller' => 'Moes', 'action' => 'getMoes'));
    $appBosch->getAreas = $this->Html->url(array('controller' => 'Areas', 'action' => 'getAreasByMoe'));
    $appBosch->getUsers = $this->Html->url(array('controller' => 'Users', 'action' => 'getForManagers'));
    $appBosch->upload = $this->Html->url(array('action' => 'uploadFiles'));
    $appBosch->cancel = $this->Html->url(array('action' => 'deletedUploaded'));

    $this->TioCachas->addWarning();
?>

<div id="grid" ></div>

<?php $this->start('jsVars'); ?>
    <script type="text/javascript">
        var appBosch = <?php echo json_encode($appBosch); ?>;
    </script>
<?php $this->end();